package com.gdupt.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gdupt.entity.vo.StatisticalReportVo;
import com.gdupt.mapper.StatisticalReportMapper;
import com.gdupt.service.IStatisticalReport;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StatisticalReportServiceImpl extends ServiceImpl<StatisticalReportMapper, StatisticalReportVo> implements IStatisticalReport {
    @Autowired
    private StatisticalReportMapper statisticalReportMapper;

    @Override
    public List<StatisticalReportVo> searchCustomerContribution(Page page,String search) {
        return statisticalReportMapper.searchCustomerContribution(page,search);
    }

    @Override
    public List<StatisticalReportVo> searchCustomerComposition(Page page) {
        return statisticalReportMapper.searchCustomerComposition(page);
    }

    @Override
    public List<StatisticalReportVo> searchCustomerComposition1(Page page) {
        return statisticalReportMapper.searchCustomerComposition1(page);
    }

    @Override
    public List<StatisticalReportVo> searchCustomerComposition2(Page page) {
        return statisticalReportMapper.searchCustomerComposition2(page);
    }

    @Override
    public List<StatisticalReportVo> searchCustomerService(Page page) {
        return statisticalReportMapper.searchCustomerService(page);
    }
}
